import java.util.Date;
// import java.sql.Date;
import static java.lang.Math.*;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: xiaotutu
 * Date: 2023-10-26
 * Time: 15:29
 */
class Student {
    private String name;
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Student() {

    }
}

public class Test {
    public static void main(String[] args) {
        double x = 30;
        double y = 40;
        //静态导入的方式写起来更方便一些.
        // double result = Math.sqrt(Math.pow(x,2)+Math.pow(y,2));
        double result = sqrt((pow(x, 2)) + pow(y, 2));
        System.out.println(result);
    }
}


